package com.jh.jingfei;

import android.app.Application;

import com.jh.jingfei.models.Account;

import me.yokeyword.fragmentation.Fragmentation;

/**
 * @author lxb
 * Created by lion on 2017/12/2.
 */

public class MyApplication extends Application {

    private long userId;
    private String accessToken;
    private Account account;

    @Override
    public void onCreate() {
        super.onCreate();
        Fragmentation.builder()
                .stackViewMode(Fragmentation.BUBBLE)
                .debug(BuildConfig.DEBUG)
                .install();
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }
}
